/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BL;

/**
 *
 * @author DarkIaspis
 */
public class WrongSizeException extends Exception{
    
    int sizeA,sizeB;

    public WrongSizeException(int sizeA, int sizeB) {
        super();
        this.sizeA = sizeA;
        this.sizeB = sizeB;
    }

    @Override
    public void printStackTrace() { 
        super.printStackTrace();
        System.err.println("The size of a and b vectors doesn't match: size(a) = "+sizeA+"; size(b) = "+sizeB);
    }
    
    
    
    
}
